<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');


class Crud_model extends CI_Model {
		
	public function __constructor()
	{  
	    parent::Model();  
	}
	function index()
	{
		
	}
	
	function delete($id)
	{
		$this->db->where('landing_id',$id);
		$this->db->delete('landing_user');	
	}
	
	function delete_user($id)
	{
		$this->db->where('id_login',$id);
		$this->db->delete('land_user_login');	
	}
	
	function update_user($id,$data)
	{
		$this->db->where('id_login',$id);
		$this->db->update('land_user_login',$data);	
	}
	
	
	
}
?>